<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="pg" uri="http://jsptags.com/tags/navigation/pager"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
-->
</style>

<link href="<%=basePath %>admin/images/skin.css" rel="stylesheet" type="text/css" />
<body>
    <%
     if(session.getAttribute("msg")!=null)
     {
       %>
        <script type="text/javascript">
         alert('<%=session.getAttribute("msg")%>');  
        </script>
       <%
       session.removeAttribute("msg");
     }
     %>

	
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td width="17" height="29" valign="top"
					background="<%=basePath %>admin/images/mail_leftbg.gif">
					<img src="<%=basePath %>admin/images/left-top-right.gif" width="17" height="29" />
				</td>
				<td width="935" height="29" valign="top"
					background="<%=basePath %>admin/images/content-bg.gif">
					<table width="100%" height="31" border="0" cellpadding="0"
						cellspacing="0" class="left_topbg" id="table2">
						<tr>
							<td height="31">
								<div class="titlebt">
									会员报名信息
								</div>
							</td>
						</tr>
					</table>
				</td>
				<td width="16" valign="top"
					background="<%=basePath %>admin/images/mail_rightbg.gif">
					<img src="<%=basePath %>admin/images/nav-right-bg.gif" width="16" height="29" />
				</td>
			</tr>
			<tr>
				<td height="71" valign="middle"
					background="<%=basePath %>admin/images/mail_leftbg.gif">
					&nbsp;
				</td>
				<td valign="top" bgcolor="#F7F8F9">
					<table width="100%" height="138" border="0" cellpadding="0"
						cellspacing="0">
						
						<tr>
							<td valign="top">
								<table width="98%" border="0" align="center" cellpadding="0"
									cellspacing="0">
									<tr>
										<td class="left_txt">
											当前位置：会员报名信息
										</td>
									</tr>
									<tr>
										<td height="20">
											<table width="100%" height="1" border="0" cellpadding="0"
												cellspacing="0" bgcolor="#CCCCCC">
												<tr>
													<td></td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td>
											<table width="100%" height="55" border="0" cellpadding="0"
												cellspacing="0">
												<tr>
													<td width="10%" height="55" valign="middle">
														<img src="<%=basePath %>admin/images/world_browser.png" width="54" height="55">
													</td>
													<td width="90%" valign="top">
														<span class="left_txt2">在这里，您可以根据您的网站要求，修改设置网站的</span><span
															class="left_txt3">基本参数</span><span class="left_txt2">！</span>
														<br>
														<span class="left_txt2">包括</span><span class="left_txt3">网站名称，网址，网站备案号，联系方式，网站公告，关键词，风格</span><span
															class="left_txt2">等以及网站</span><span class="left_txt3">会员及等级积分设置</span><span
															class="left_txt2">。 </span>
													</td>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td >
											<table width="100%" height="31" border="0" cellpadding="0"
												cellspacing="0" class="nowtable">
												<tr>
													<td class="left_bt2">
														&nbsp;&nbsp;&nbsp;&nbsp;会员报名信息
													</td>					
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td style="border: 1px solid #C2C2C2;">
											<table width="100%" height="350" border="0" cellspacing="0"
												cellpadding="0">
												<tr>
                                                   <td valign="top">
                                                    <table border="0" width="100%" style="font-size: 14px;"> 
                                                       <tr height="10">
                                                         <td>编号</td>
                                                         <td>会员姓名</td>
                                                         <td>性别</td>
                                                         <td>联系电话</td>
                                                         <td>身高</td>
                                                         <td>有健康证</td>
                                                         <td>学校</td>
                                                         <td>活动和工作次数</td>
                                                         <c:if test="${'1' eq role}">
                                                         <td>删除</td>
                                                         </c:if>
                                                         <c:if test="${'1' eq role}">
                                                         <td>操作</td>
                                                         </c:if>
                                                       </tr>                                     
                                                      <c:if test="${!empty johnlist}">
												<c:forEach items="${johnlist}" var="john">
													   <tr bgcolor="#EFF3F7">
														 <td>${john.jid }</td>
                                                         <td>
                                                          <a href="<%=basePath %>home/${john.mid }.html" target="_blank" style="text-decoration: underline;">
                                                           <font color="blue">${john.realname }</font>
                                                          </a>
                                                         </td>
                                                         <td>${john.sex }</td>
                                                         <td>${john.linktel }</td>
                                                         <td>${john.height }cm</td>
                                                         <td>${john.healthly }</td>
                                                         <td>${john.sname }</td>
                                                         <td>${john.worknum }</td>
                                                         <c:if test="${'1' eq role}">
                                                         <td>
                                                          <a href="index!admin_delJohninfo.action?jid=${john.jid }&aid=${ john.aid}" style="text-decoration: underline;color: blue;">
                                                                   删除
                                                          </a>
                                                         </td>
                                                         </c:if>
                                                         <c:if test="${'1' eq role}">
                                                         <td>
                                                          <form action="index!checkJohninfo.action" method="post" style="margin-top: 0px;margin:5 0">
                                                               <input type="hidden" name="jid" value="${john.jid }">
														       <input type="hidden" name="aid" value="${john.aid }">
														    <c:if test="${'是' eq john.ispass}">													       
														       <input type="submit"  value="取消审核">
														    </c:if>
															<c:if test="${'否' eq john.ispass}">
														       <input type="submit"  value="&nbsp;审&nbsp;核&nbsp;">
														    </c:if>
														   </form>
                                                         </td>
                                                          </c:if>
													   </tr>
												</c:forEach>
											</c:if>
											<c:if test="${empty johnlist}">
												<tr>
													<td colspan="9" align="center" bgcolor="#EFF3F7">
														没有找到相应的记录
													</td>
												</tr>
											</c:if> 
                                              </table>                                             
                                                </td>
											 </tr>											
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
				<td background="<%=basePath %>admin/images/mail_rightbg.gif">
					&nbsp;
				</td>
			</tr>
			<tr>
				<td valign="middle" background="<%=basePath %>admin/images/mail_leftbg.gif">
					<img src="<%=basePath %>admin/images/buttom_left2.gif" width="17" height="17" />
				</td>
				<td height="17" valign="top"
					background="<%=basePath %>admin/images/buttom_bgs.gif">
					<img src="<%=basePath %>admin/images/buttom_bgs.gif" width="17" height="17" />
				</td>
				<td background="<%=basePath %>admin/images/mail_rightbg.gif">
					<img src="<%=basePath %>admin/images/buttom_right2.gif" width="16" height="17" />
				</td>
			</tr>
		</table>
</body>
